package org.scc.service;

import java.util.List;

import org.scc.dao.MeetingPlaceDao;
import org.scc.model.MeetingPlace;

public class MeetingPlaceService {
	private MeetingPlaceDao meetingPlaceDao;
	
	public MeetingPlaceService(){
		meetingPlaceDao = new MeetingPlaceDao();
	}
	
	public List<MeetingPlace> findAll(){
		return meetingPlaceDao.findAll();
	}
	
	public void add(MeetingPlace meetingPlace){
		meetingPlaceDao.add(meetingPlace);
	}
	
	public void update(MeetingPlace meetingPlace){
		meetingPlaceDao.update(meetingPlace);
	}
	
	public void delete(String ids){
		meetingPlaceDao.delete(ids);
	}
	
	public MeetingPlace load(int id){
		return meetingPlaceDao.load(id);
	}
}
